@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Custom properties/variables  */
:root {
  --main-white: #f0f0f0;
/*  --main-red: #be3144;*/
/*  --main-blue: #45567d;*/
  --main-gray: #303841;
  --main-gray-light-light: rgb(239,239,239);
  --main-gray-light-dark: rgb(229,229,229);
  --main-beige: rgb(241, 235, 221);
  --main-beige-light: rgb(247, 245, 238);
}

/* box-sizing and font sizing */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;

  /* Set font size for easy rem calculations
   * default document font size = 16px, 1rem = 16px, 100% = 16px
   * (100% / 16px) * 10 = 62.5%, 1rem = 10px, 62.5% = 10px
  */
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* A few media query to set some font sizes at different screen sizes.
 * This helps automate a bit of responsiveness.
 * The trick is to use the rem unit for size values, margin and padding.
 * Because rem is relative to the document font size
 * when we scale up or down the font size on the document
 * it will affect all properties using rem units for the values.
*/

/* I am using the em unit for breakpoints
 * The calculation is the following
 * screen size divided by browser base font size
 * As an example: a breakpoint at 980px
 * 980px / 16px = 61.25em
*/

/* 1200px / 16px = 75em */
@media (max-width: 75em) {
  html {
    font-size: 60%;
  }
}

/* 980px / 16px = 61.25em */
@media (max-width: 61.25em) {
  html {
    font-size: 58%;
  }
}

/* 460px / 16px = 28.75em */
@media (max-width: 28.75em) {
  html {
    font-size: 55%;
  }
}

/* Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background-color: var(--main-beige-light);
  --scrollbar-width: 0px;
  font-family: 'Poppins', Helvetica, sans-serif; /*ORIGINAL*/
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
/*  color: var(--main-white);*/
}

h1,
h2,
h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  text-align: center;
}

h1 {
  font-size: 6rem;
}

h2 {
  font-size: 4.2rem;
}

h3 {
  font-size:3rem;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--main-white);
}

video {
  display: block;
  width: 100%;
}

.div-section{
  border: solid 1px var(--main-beige-light);
}

/* HERE EVERYTHING STARTS */
/* header */

/*
#header{
  position: relative;
}*/

.header__title, .header__subtitle{
  text-align: left;
  width: 50%;
  margin-left: 100px;
  font-family: /*'Helvetica',*/ 'poppins', 'sans-serif';
  /*font-size: 2.5rem;*/
  line-height: normal;
}

.header__title{
  padding-top: 2rem;
  font-size: 2.5rem;
}

.header__subtitle{
  padding-bottom: 2rem;
  padding-top: -5rem;
  font-size: 1.8rem;
}

#header__click-logo-home{
  color: black;
}


@media (max-width:600px) {
  .header__title, .header__subtitle {
    text-align: left;
    width: 50%;
    margin-left: 50px;
    font-family: /*'Helvetica',*/ 'poppins', 'sans-serif';
    /*font-size: 2.5rem;*/
    line-height: normal;
  }
}

@media (max-width:800px) {
  .header__title, .header__subtitle {
    text-align: left;
    width: 50%;
    margin-left: 50px;
    font-family: /*'Helvetica',*/ 'poppins', 'sans-serif';
    /*font-size: 2.5rem;*/
    line-height: normal;
  }
}

/* nav */

.nav {
  display: flexbox;
  justify-content: flex-end;
  position: fixed;
  width: 100%;
/*  background: var(--main-red);*/
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  z-index: 10;
}

#nav-bar{
  background-color: var(--main-beige);
/*  display: flex;
  flex: inline;*/
}

.nav-link{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: black;
}

.nav-list {
  display: flex;
  margin: 0 auto;
  justify-content: center;
}

@media (max-width: 28.75em) {
  .nav {
    justify-content: center;
  }

  .nav-list {
    margin: 0 1rem;
  }
}

.nav-list a {
  display: block;
  font-size: 1.5rem;
  padding: 1rem;
}


.nav-list a:hover {
/*  background: var(--main-gray-light-light);*/
  color: orange;
  transition: 0.3s ease-out;
}


.nav__items{
  list-style: none;
}

/*PRUEBA MENU*/
.nav__menu {
  margin-left: auto;
  cursor: pointer;
  display: none;
}

/*PRUEBA MENU*/
.nav__img {
  display: block;
  width: 30px;
}

/*PRUEBA MENU*/
.nav__close {
  display: var(--show, none);
}


/* Main (Only Photo) Section*/

#main {
  width: 100%;
  justify-content: center;
  border-bottom: 0.2rem solid var(--main-white);
}

.main__img{
  display: block;
  width: 100%;
  height: 80vh;
  object-fit: cover;
}

/* Biography section */
.bio-section {
  text-align: center;
  padding: 10rem 2rem;
  background: var(--main-beige-light);
  background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100% ), url('../images/dirigiendo-3.JPG');
  background-size: cover;
  background-position: 50%;
  color: var(--main-white);
}

.bio-section-header{
  font-weight: 100;
  font-family: 'Poppins';
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 4rem;
  width: 100%;
/* max-width: 500px;
  margin: 40px 70px;*/
  max-width: 1280px;
  margin-bottom: 2.5rem;
  margin-top: 2.5rem;
/*  border: solid 0.5px var(--main-beige-light);*/
}

@media (max-width: 30.625em) {
  .bio-section {
    padding: 6rem 1rem;
  }

  .bio-grid {
    grid-template-columns: 1fr;
  }
}

.bio-text{
  line-height: 2.5;
  font-weight: 50;
  text-align: left;
  width: 50%;
  align-items: center;
  justify-content: center;
  display: flex;
}

.btn-full-bio {
  font-size: 2rem;
  /*background: var(--main-beige);*/ /*ORIGINAL: BEIGE A BACKGROUND*/ 
  /* transition: background 0.3s ease-out;*/ /*ORIGINAL: BEIGE A BACKGROUND*/
  /*color: black;*/ /*ORIGINAL: BEIGE A BACKGROUND*/
  color: var(--main-white); /*2ND VERSION: BACKGROUND A BEIGE*/
  border: solid 1px var(--main-beige-light);
}

.btn-full-bio:hover {
  /*background: none;*/ /*ORIGINAL: BEIGE A BACKGROUND*/
  background: var(--main-beige-light); /*2ND VERSION: BACKGROUND A BEIGE*/
  /*color: var(--main-white);*/ /*ORIGINAL: BEIGE A BACKGROUND*/
  color: black; /*2ND VERSION: BACKGROUND A BEIGE*/
  border: solid 1px var(--main-beige-light);
  transition: background 0.3s ease-out; /*2ND VERSION: BACKGROUND A BEIGE*/
}

.btn-full-bio:hover > i {
  transform: translateX(2px);
}

.btn-full-bio > i {
  margin-left: 10px;
  transform: translateX(0);
  transition: transform 0.3s ease-out;
}

/* Projects section */
.projects-section {
  text-align: center;
  padding: 10rem 2rem;
  background: var(--main-beige-light);
  background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100% ), url('../images/dirigiendo-4.JPG');
  background-size: cover;
  background-position: 50%;
}

.projects-section-header {
  max-width: 640px;
  margin:-5rem auto 6rem auto;
/*  border-bottom: 0.2rem solid var(--main-beige-light);*/
  font-weight: 100;
  color: var(--main-white);
  font-family: 'Poppins';
  padding-top: 3rem;
}

@media (max-width: 28.75em) {
  .projects-section-header {
    font-size: 4rem;
  }
}

/* "Automagic" image grid using no media queries */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

@media (max-width: 30.625em) {
  .projects-section {
    padding: 6rem 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project {
  background: var(--main-beige);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  border-radius: 2px;;
}

.code {
  color: var(--main-gray);
  transition: color 0.3s ease-out;
}

.project:hover .code {
  color: #ff7f50;
}

.project-video {
  height: calc(100% - 6.8rem);
  width: 100%;
  object-fit: cover;
}

.project-title {
  font-size: 1.5rem;
  padding: 2rem 0.5rem;
  align-items: center;
  vertical-align: auto;
  color: black;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2px;
}

.btn-show-all {
  font-size: 2rem;
  /*background: var(--main-beige);*/ /*ORIGINAL: BEIGE A BACKGROUND*/
  /* transition: background 0.3s ease-out; */ /*ORIGINAL: BEIGE A BACKGROUND*/
  /* color: black; */ /*ORIGINAL: BEIGE A BACKGROUND*/
  color: var(--main-white); /*2ND VERSION: BACKGROUND A BEIGE*/
  border: solid 1px var(--main-beige-light);
}

.btn-show-all:hover {
  /* background: none; */ /*ORIGINAL: BEIGE A BACKGROUND*/
  background: var(--main-beige-light); /*2ND VERSION: BACKGROUND A BEIGE*/
  /*color: var(--main-white);*/ /*ORIGINAL: BEIGE A BACKGROUND*/
  color: black; /*2ND VERSION: BACKGROUND A BEIGE*/
  border: solid 1px var(--main-beige-light);
  transition: background 0.3s ease-out; /*2ND VERSION: BACKGROUND A BEIGE*/
}

.btn-show-all:hover > i {
  transform: translateX(2px);
}

.btn-show-all > i {
  margin-left: 10px;
  transform: translateX(0);
  transition: transform 0.3s ease-out;
}

/* Contact section */

.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 35vh;
  padding: 0 0rem;
  background: var(--main-beige-light);
}

.contact-section-header {
  margin-top: -4rem;
}

.contact-section-header > h2 {
  font-size: 2rem;
  font-weight: 550;
}

@media (max-width: 28.75em) {
  .contact-section-header > h2 {
    font-size: 2rem;
    font-family: 'Poppins';
  }

  .contact-section-header > p {
    font-size: 1.6rem;
    font-family: 'Poppins';
  }
}

.contact-section-header > p {
  font-style: normal;
  font-size: 1.6rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin-top: 1rem;
  flex-wrap: wrap;
  margin-bottom: -5rem;
}

.contact-details {
  font-size: 2rem;
  text-shadow: 0.5px 0.5px 0.5px #1f1f1f;
  transition: transform 0.3s ease-out;
  color: black;
}

.contact-details:hover {
  transform: translateY(8px);
}


/* Footer */

footer {
  font-weight: 300;
  display: flex;
  justify-content: space-evenly;
  padding: 1rem;
  background: var(--main-beige);
/*  border-top: 1px solid var(--main-beige-light);*/
}

footer > p {
  margin: 1rem;
}

footer i {
  vertical-align: middle;
}

@media (max-width: 28.75em) {
  footer {
    flex-direction: column;
    text-align: center;
  }
}


/*Media queries*/

/* Media queries */
/*INICIO PRUEBA MENU*/
@media (max-width:800px){
  .nav__menu{
      display: block;
  }

  .nav-list--menu{
      position: fixed;
      background-color: var(--main-beige-light);
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      align-items: center;
      z-index: 100;
      opacity: 0;
      pointer-events: none;
      transition: .7s opacity;
  }

  .nav-list--show{
      --show: block;
      opacity: 1;
      pointer-events: unset;
  }

  .nav-list a{
    font-size: 2.5rem;
  }

  .nav-list a:hover {
    /*  background: var(--main-gray-light-light);*/
      color: orange;
      transition: 0.2s ease-out;
    }

  .nav__close{
      position: absolute;
      top: 30px;
      right: 30px;
      width: 30px;
      cursor: pointer;
  }
}



@media (max-width:600px){
  .nav__menu{
      display: block;
  }

  .nav-list--menu{
      position: fixed;
      background-color: var(--main-beige-light);
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      align-items: center;
      z-index: 100;
      opacity: 0;
      pointer-events: none;
      transition: .7s opacity;
  }

  .nav-list--show{
      --show: block;
      opacity: 1;
      pointer-events: unset;
  }

  .nav-list a{
    font-size: 2.5rem;
  }

  .nav-list a:hover {
    /*  background: var(--main-gray-light-light);*/
      color: orange;
      transition: 0.2s ease-out;
    }

  .nav__close{
      position: absolute;
      top: 30px;
      right: 30px;
      width: 30px;
      cursor: pointer;
  }

  .nav__items{
    color: orange;
  }
}
  /*FIN PRUEBA MENU*/